package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓库表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Data
@TableName("stock")
public class Stock implements Serializable {

    private static final long serialVersionUID=1L;

    //@ApiModelProperty(value = "仓库id，主键，自增")
      @TableId(value = "stock_id", type = IdType.AUTO)
    private Integer stockId;

    //@ApiModelProperty(value = "仓库名称")
    private String stockName;

    //@ApiModelProperty(value = "描述")
    private String remark;

    //@ApiModelProperty(value = "库存报警上限")
    private Integer maxAmount;

    //@ApiModelProperty(value = "库存报警下限")
    private Integer minAmount;

    //@ApiModelProperty(value = "最大存储量")
    private Integer maxCapacityAmount;

    //@ApiModelProperty(value = "是否启用，1表示启用，0表示禁用")
    private Integer onOff;

    //@ApiModelProperty(value = "存储商品类型，格式为：分类id-分类id-...，例如：2-1-4")
    private String productTypeList;

    //@ApiModelProperty(value = "登记人")
    private String register;

    //@ApiModelProperty(value = "登记时间")
    private Date registerTime;

    //@ApiModelProperty(value = "审核人")
    private String checker;

    //@ApiModelProperty(value = "审核时间")
    private Date checkTime;

    //@ApiModelProperty(value = "审核理由")
    private String checkReason;

    //@ApiModelProperty(value = "审核状态，S001-1（等待审核）、S001-2（审核未通过）、S001-3（审核通过）")
    private String checkTag;

    //@ApiModelProperty(value = "是否删除，C001-1（未删除）、C001-2（已删除）")
    private String status;


}
